package com.powerrich.dubbo.controller;

import com.powerrich.dubbo.service.CityDubboConsumerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 黄雨
 * @title: UserController
 * @projectName demo
 * @description: TODO
 * @date 2019-04-108:56
 */
@RestController
public class UserController {
    @Autowired
    private CityDubboConsumerService service;


    @RequestMapping("/save")
    public Object saveUser() {

        return service.saveUser();
    }
}


